Pronamic\WordPress\Pay\Extensions\WooCommerce\Gateway B

Total Complexity 96
Dependencies 27
Dependents 2
Total lines 1,048
Lines of code 571
Logical lines of code 321
Comment lines 263
Methods 17
Properties 7

Methods 17

Method Rating Maintainability Complexity Lines of code
new_pronamic_payment_from_wc_order()
B
30 14 125
process_payment()
B
36 15 75
process_refund()
A
38 10 65
__construct()
A
40 10 59
init_form_fields()
A
37 8 84
after_checkout_validation()
S
53 6 23
print_fields()
S
51 5 31
get_input_fields()
S
54 5 23
connect_subscription_payment_renewal()
S
57 5 16
has_pronamic_subscriptions_support()
S
61 4 14
get_pronamic_subscriptions()
S
60 3 14
get_pronamic_option()
S
65 3 9
maybe_add_refunds_support()
S
70 3 6
maybe_add_subscriptions_support()
S
61 2 13
get_wp_payment_method()
S
82 1 3
payment_fields()
S
73 1 5
process_subscription_payment()
S
70 1 6